﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Microsoft.Practices.Prism.Modularity;
using Microsoft.Practices.Prism.MefExtensions.Modularity;
using Microsoft.Practices.Prism.Regions;
using System.ComponentModel.Composition;
using ProBugTracker.Module.Login.Views;


namespace ProBugTracker.Module.Login
{
    [ModuleExport(typeof(LoginModule))]
    public class LoginModule:IModule
    {
        [Import]
        public IRegionManager TheRegionManager { private get; set; }

        public void Initialize()
        {
            TheRegionManager.RegisterViewWithRegion("MainRegion", typeof(Login.Views.Login));
            TheRegionManager.RegisterViewWithRegion("MainRegion", typeof(Login.Views.UserArea));
        }
    }
}
